package com.monsky.power.current;

import java.util.Collection;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.Queue;

import com.monsky.power.share.Commond;

class CommondQueue implements Queue<Commond>{

//	private String userid;
	
	private Queue<Commond> commonds = new LinkedList<Commond>();
	
//	public String getUserid() {
//		return userid;
//	}
//
//	public void setUserid(String userid) {
//		this.userid = userid;
//	}

	@Override
	public int size() {
		return commonds.size();
	}

	@Override
	public boolean isEmpty() {
		return commonds.isEmpty();
	}

	@Override
	public boolean contains(Object o) {
		return commonds.contains(o);
	}

	@Override
	public Iterator<Commond> iterator() {
		return commonds.iterator();
	}

	@Override
	public Object[] toArray() {
		return commonds.toArray();
	}

	@Override
	public <T> T[] toArray(T[] a) {
		return commonds.toArray(a);
	}

	@Override
	public boolean remove(Object o) {
		return commonds.remove(o);
	}

	@Override
	public boolean containsAll(Collection<?> c) {
		return commonds.containsAll(c);
	}

	@Override
	public boolean addAll(Collection<? extends Commond> c) {
		return commonds.addAll(c);
	}

	@Override
	public boolean removeAll(Collection<?> c) {
		return commonds.removeAll(c);
	}

	@Override
	public boolean retainAll(Collection<?> c) {
		return commonds.retainAll(c);
	}

	@Override
	public void clear() {
		commonds.clear();
	}

	@Override
	public boolean add(Commond e) {
		add(e);
		return false;
	}

	@Override
	public boolean offer(Commond e) {
		return commonds.offer(e);
	}

	@Override
	public Commond remove() {
		return commonds.remove();
	}

	@Override
	public Commond poll() {
		return commonds.poll();
	}

	@Override
	public Commond element() {
		return commonds.element();
	}

	@Override
	public Commond peek() {
		return commonds.peek();
	}

}
